package net.println.kotlin.chapter5.basics

fun main(args: Array<String>) {
    args.forEach(::println)

    val helloworld = Hello::world

    args.filter(String::isNotEmpty)

    args.forEach(PdfPrinter()::println)

}

class PdfPrinter{
    fun println(message: Any) {
        kotlin.io.println("pdf print")
    }
}

class Hello {
    fun world() {
        println("Hello World")
    }
}